package com.byx.chatserver.service;

import com.byx.chatserver.pojo.RedisKeyDto;
import org.springframework.stereotype.Service;

/**
 * IRedisService
 *
 * @author Superb
 * @date 2021/3/22 21:41
 */
@Service
public interface IRedisService {
    void addData(RedisKeyDto redisKeyDto);
    void delete(RedisKeyDto redisKeyDto);
    RedisKeyDto redisGet(RedisKeyDto redisKeyDto);
    void addRedisData(RedisKeyDto redisKeyDto,int outTime);
}
